package com.hrpmar.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import sun.misc.resources.Messages;

import java.util.Date;

/**
 * Created by c on 2017-12-04.
 */
public class MessageReply {

    private Integer reid;           //回复id
    private String woJubnum;        //写信人编号
    private Integer mid;            //发信人信息表编号
    private String reContext;       //回复内容
    @JsonFormat(pattern =  "yyyy-MM-dd HH:mm")
    private Date reDate;            //回复时间

    private Worker worker;          //工作人员对象
    private MessageSender messageSender;    //写信人对象

    public Worker getWorker() {
        return worker;
    }

    public void setWorker(Worker worker) {
        this.worker = worker;
    }

    public MessageSender getMessageSender() {
        return messageSender;
    }

    public void setMessageSender(MessageSender messageSender) {
        this.messageSender = messageSender;
    }

    public Integer getReid() {
        return reid;
    }

    public void setReid(Integer reid) {
        this.reid = reid;
    }

    public String getWoJubnum() {
        return woJubnum;
    }

    public void setWoJubnum(String woJubnum) {
        this.woJubnum = woJubnum;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getReContext() {
        return reContext;
    }

    public void setReContext(String reContext) {
        this.reContext = reContext;
    }

    public Date getReDate() {
        return reDate;
    }

    public void setReDate(Date reDate) {
        this.reDate = reDate;
    }
}
